package com.tz.marlon.bean;

import java.util.Date;

/**
 * 文章实体类 Article<BR>
 * 作者:Marlon <BR>
 * 时间:2016年11月13日-上午11:29:44 <BR>
 * 邮箱:18093454447@163.com <BR>
 * @version 1.0.0 <BR>
 * @link see: <BR>
 */
public class Article {

	private Integer id;//主键
	private String title;//标题
	private String content;//内容
	private String keyword;//关键词
	private Date createTime;//创建日期
	private Date updateTime;//更新日期
	private String headpic;//封面图
	private Integer hits;//点击数
	private Integer comments;//评论数
	private Integer channel;//分类
	private Integer userId;//用户id
	private Integer isDelete;//是否存在 0不存在 1存在
	private Integer status;//是否发布 0未发布 1发布
	private Integer type;//文章类型（1前端 2后端）

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public String getKeyword() {
		return keyword;
	}

	public void setKeyword(String keyword) {
		this.keyword = keyword;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public String getHeadpic() {
		return headpic;
	}

	public void setHeadpic(String headpic) {
		this.headpic = headpic;
	}

	public Integer getHits() {
		return hits;
	}

	public void setHits(Integer hits) {
		this.hits = hits;
	}

	public Integer getComments() {
		return comments;
	}

	public void setComments(Integer comments) {
		this.comments = comments;
	}

	public Integer getChannel() {
		return channel;
	}

	public void setChannel(Integer channel) {
		this.channel = channel;
	}

	public Integer getUserId() {
		return userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	public Integer getIsDelete() {
		return isDelete;
	}

	public void setIsDelete(Integer isDelete) {
		this.isDelete = isDelete;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

}
